#define BASE24_FIELD60_SIZE                         512
//extern VS_BOOL fProcLastDigit = VS_FALSE; 

void vdAddBase24Functions(void);
int inReconcileCPAC(TRANSACTION_OBJECT* pobTran);
int inSetBase24Params(unsigned char* pchNewParameters);
void vdInitializeBASE24(PACKET_OBJECT* pobPacket);
int inInitializeCPACValidationStruct(TRANSACTION_OBJECT* pobTran,VALIDATION_STRUCT* psrValidationParameters);
int inUpdateCPACReversal(COMM_8583_DATA* srCommStruct); // CPAC_UNBKL added
int inModifyCPACBatchRec(TRANSACTION_OBJECT* pobTran);
extern int inCPACCreateVariantStruct60(void);
int inGetField60Length(void);
void vdGetBase24InitFName(char* pchBFName);
int inBase24UpdateHdfcTables(TRANSACTION_OBJECT* pobTran);
int inGetRecord(int fHandle,int inCurrentTableId,char* pstRecord) ;
void vdUpdateTCT(char* pszBuffer);
void vdUpdateCDT(char* pszBuffer);
void vdUpdateIITANDCDT(char* szBuffer,int j) ;
void vdUpdateHDT(char* pszBuffer,int i);
void vdFineTuneAllTables(void);
void vdResetAllTables(void);
extern void vdLoadCPACParams(CPAC_REC* psrCPAC);
extern void vdGetCPACTPDU(char* pchTPDU);
int inEditBase24INIOperation(TRANSACTION_OBJECT* pobTran);
extern int inConfRecEdit(char* pchDataFileName);
int inBase24ResetInitFlag(TRANSACTION_OBJECT* pobTran);
void vdGetINIInitPriPhoneNumber(char* pszParam,CPT_REC srCPTRec);
void vdGetINIInitSecPhoneNumber(char* pszParam,CPT_REC srCPTRec);

void vdSetINIInitPriPhoneNumber(char* szPriAuthPhoneNumber,void* cptStruct);
void vdSetINIInitSecPhoneNumber(char* szPriAuthPhoneNumber,void* cptStruct);

char* szGetINIInitPABXCode(void);
void vdSetINIInitPABXCode(const char* szPABXCode);
VS_BOOL fGetINIInitDialType(CPT_REC srCPTRec);
void vdSetINIInitDialType(VS_BOOL fDialType,void* cptStruct);
extern int inLoadBatchRec(TRANSACTION_OBJECT* pobTran,int inRecNum);
void vdSetINIInitPhoneNumber(char* szPriAuthPhoneNumber,void* cptStruct);
int inBase24DefaultSetModemObjectFunctions(MODEM_OBJECT* obModem);
int inChkAllMerchBatchEmpty(TRANSACTION_OBJECT* pobTran);
int inBase24DisplayMessage(TRANSACTION_OBJECT* pobTran);
int inFixCardIndex(TRANSACTION_OBJECT* pobTran);
int inFixBASE24Initialize(TRANSACTION_OBJECT* pobTran);
int vdPutInitWarningMessage(void);
int inHDFCChkAllMerchBatchEmpty(TRANSACTION_OBJECT* pobTran);
int inAXAPGetAuthCode1(TRANSACTION_OBJECT* pobTran);
int inAXAPSetAuthCode1(TRANSACTION_OBJECT* pobTran);
int inUpdateMIDMultimerchant(void);
int inICICIRestartAfterInit(TRANSACTION_OBJECT* pobTran);
extern long lnGetFileSize(const char* pchFileName);
void pad_string(char* str,int padlen,char padval,int padtype);
int inICICISetTrack(TRANSACTION_OBJECT* pobTran);


